package org.sklse.learningassistant.repository.resource;

import org.sklse.learningassistant.bean.resource.Question;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface QuestionRepository extends JpaRepository<Question, Integer> {


    List<Question> findAll();

    Question findById(int id);
}
